package com.baizhi.service;

import com.baizhi.entity.CmfzResource;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * Created by Administrator on 2019/4/19.
 */
public interface CmfzRoleService {
    Set<String> getAllRolesByUsername(String username);
    Set<String> getAllPermissionsByUsername(String username);
//    获取所有的角色数据
    Map selectRoleByPage(Integer page, Integer limit);

    //    获取所有的权限情况 为了树的展示
    List<CmfzResource> selectAllResource();
}
